﻿@using Mulala.Cavan.Presentation.Mvc.Controller
@model Mulala.Cavan.Presentation.Mvc.ViewModel.ITopSectionViewModel
<div class="head_top_left">
    @if (Request.IsAuthenticated)
    {
        <span>你好，欢迎来姆拉拉!</span>@Html.ActionLink(User.Identity.Name, ActionConst.CHANGEPASSWORD, ControllerConst.USERACCOUNT)<span>[</span>@Html.ActionLink("退出", ActionConst.LOGOFF, ControllerConst.USERACCOUNT)<span>]</span>
    }
    else
    {
        <span>你好，欢迎来姆拉拉!</span>@Html.ActionLink("登录", ActionConst.LOGIN, ControllerConst.USERACCOUNT, routeValues: null, htmlAttributes: new { id = "loginLink" })<span>[</span>@Html.ActionLink("注册", ActionConst.REGISTER, ControllerConst.USERACCOUNT, routeValues: null, htmlAttributes: new { id = "registerLink" })<span>]</span>
    }</div>
<div class="head_top_right">
    <span>全国第一家政门户网</span>|@Html.ActionLink("姆拉拉首页", ActionConst.INDEX, ControllerConst.HOME)<span>|</span><a href="@Model.UserCenterUrl">个人中心</a><span>|</span><a
        href="#">收藏</a><span>|</span><a href="#"><font>帮助</font></a></div>
